package com.example.jiaju.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class Furniture {


    @SerializedName("msg")
    public String msg;
    @SerializedName("code")
    public Integer code;
    @SerializedName("page")
    public PageDTO page;

    @NoArgsConstructor
    @Data
    public static class PageDTO {
        @SerializedName("totalCount")
        public Integer totalCount;
        @SerializedName("pageSize")
        public Integer pageSize;
        @SerializedName("totalPage")
        public Integer totalPage;
        @SerializedName("currPage")
        public Integer currPage;
        @SerializedName("list")
        public List<ListDTO> list;

        @NoArgsConstructor
        @Data
        public static class ListDTO implements Serializable {
            @SerializedName("furnId")
            public Integer furnId;
            @SerializedName("furnBrand")
            public String furnBrand;
            @SerializedName("furnName")
            public String furnName;
            @SerializedName("furnPrice")
            public Integer furnPrice;
            @SerializedName("furnPara")
            public Object furnPara;
            @SerializedName("fornNum")
            public Object fornNum;
            @SerializedName("furnDetail")
            public Object furnDetail;
            @SerializedName("furnImg")
            public String furnImg;
        }
    }
}
